package org.jeecg.modules.door.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.basic.demo.bed.entity.LwgyBaseBed;
import org.jeecg.modules.door.entity.LwgyEglock;
import org.jeecg.modules.door.entity.LwgyEglockRoomUser;

import java.util.List;


/**
 * @Description: 门锁管理
 * @Author: jeecg-boot
 * @Date:   2022-06-15
 * @Version: V1.0
 */
public interface ILwgyEglockService extends IService<LwgyEglock> {

    IPage<LwgyEglock> queryPageListCustom(Page<LwgyEglock> page, QueryWrapper<LwgyEglock> queryWrapper);

    List<LwgyEglockRoomUser> selectUserByRoom(String roomId);

    void updateDoorCodeByRoomId(LwgyEglock lwgyEglock);

    List<LwgyEglock> queryDoorList(LwgyEglock lwgyEglock);
}
